<SCRIPT LANGUAGE="JAVASCRIPT">
var obj=document.getElementsByTagName("SCRIPT");
for(i=0;i<obj.length;i++){
 if( obj[i].src.search(/http:\/\/www\.blogbus\.com\/ads/gi)!=-1 ){
    var p=obj[i].parentNode;
    if( p ){
        if( p.nodeName=="TD" ){
            while( p.nodeName!="TABLE" ){
                p=p.parentNode;
            }
			
            var pb=p.previousSibling;
            while(pb.tagName=='BR'){
                var pbt=pb.previousSibling;
                //pb.parentNode.removeChild(pb);
				pb.style.display = "none";
                pb=pbt;
            }
   
            var pn=p.nextSibling;
            while(pn.tagName=='BR'){
                var pnt=pn.previousSibling;
                //pn.parentNode.removeChild(pn);
				pn.style.display = "none";
                pn=pnt;
            }
            //p.parentNode.removeChild(p); 
			p.style.display = "none";
       }
    }
 }
}
</SCRIPT>

function getElementsByClass(searchClass,tag){
	var classElements = new Array();
	if (tag == null)
		tag = '*';
	var els = document.getElementsByTagName(tag);
	var pattern = new RegExp("(^|\\s)"+searchClass+"(\\s|$)");
	for (i=0,j=0;i<els.length;i++){
		if (pattern.test(els[i].className)) {
			classElements[j] = els[i];
			j++;
		}
	}
	return classElements;
}

function removeAD(classname) {
	if(!getElementsByClass) return;
	if(!document.getElementsByTagName) return;
	if(!getElementsByClass(classname,'div')) return;
	var entry = getElementsByClass(classname,'div');
	if (entry.length != 1) return;
	var br = entry[0].getElementsByTagName('br');
	var table = entry[0].getElementsByTagName('table');

	table[table.length-1].style.display = 'none';
	for (var i=br.length-1;i>=br.length-4;i--) {
		br[i].style.display = 'none';
	}	
}	

window.onload = function() {
	removeAD('postBody');
}	